<?php
namespace Hive\Ressource;
use Fox\Object\Links;
/**
 * Reminder Object.
 *
 * @TODO describe
 *
 * @author Xavier VILAIN
 * @package ressource
 * @property int 		$remid 			Reminder unique Id
 * @property int 		$ressource_id	Target Ressource Id
 * @property int 		$target_id 		Target User Id
 * @property int 		$remind_type	Type of reminder
 * @property date 		$target_date	Target date of remind
 * @property datetime 	$last_update	Last Update Time (if it is the trigger)
 * @property int		$status			Reminder Status
 */
class Reminder extends \Fox\Object {

	/**
	 * Link to the ressource
	 *
	 * @var string
	 */
	const LINK_RESSOURCE = 'ressource';

}

\Fox\Dao::infos(
	Reminder::className(),
	new \Fox\Object\Info('ressource_reminder', \Fox\Databases::DB_APP)
);
